const mysql = require("mysql2");

// 创建数据库连接池
const pool = mysql.createPool({
    host     : '127.0.0.1',
    user     : 'root',
    password : '12345678',
    database : 'gameaccount',
    waitForConnections: true,
    connectionLimit: 10,
    queueLimit: 0
});


// 导出模块
module.exports = {
    pool,
};
